package com.hesicare.health.mapper.cgm;

import com.hesicare.cgm.entity.CgmBloodGlucoseDTO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author 55097
 * @create 2021/12/6 14:37
 */

@Component
public interface CgmBloodGlucoseMapper {

    /**
     * 新增cgm血糖记录
     *
     * @param cgmBloodGlucoseDTO cgm血糖记录
     * @return 结果
     */
    public int insertCgmBloodGlucose(CgmBloodGlucoseDTO cgmBloodGlucoseDTO);

    void insertCgmBloodGlucoseList(@Param("cgmBloodGlucoseDTOList") List<CgmBloodGlucoseDTO> cgmBloodGlucoseDTOList);
}
